/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Modele;

import java.util.Collection;
import java.util.HashSet;
import Modele.Dep;

/**
 *
 * @author sio
 */
public class Pays {
     private   Collection <Dep> lesDeps= new HashSet <Dep> ();

     public Pays(){
         
     }
     public Collection getLesDeps (){
         return this.lesDeps;
     }
     public Dep getleDep(String numDep){
     for (Dep unDep:lesDeps){
        
         if(unDep.getNum()==numDep){
             return unDep;
        }
     }
     return null;
     }
}
